import { RouteRecordRaw } from 'vue-router'

const routes: Array<RouteRecordRaw> = [
    {
        path:'/userManagement',
        name:'用户管理',
        children:[
            {
                path:'user',
                name:'用户信息列表',
                component:() => import('../contentView/user/userManage.vue')
            },
            {
                path:'hobby',
                name:'用户爱好列表',
                component:() => import('../contentView/user/userHobby.vue')
            }
        ]
    },
]

export default routes;